#ifndef REVISE_H
#define REVISE_H

#include <QDialog>
#include "studentstore.h"
using namespace student;
using namespace studentstore;
namespace Ui {
class revise;
}

class revise : public QDialog
{
    Q_OBJECT

public:
    explicit revise(QWidget *parent = nullptr);
    ~revise();
signals:
  void sendData(Student *stu);//发送数据的信号
private slots:
    void on_pushButton_clicked();
  void getData(Student *);//得到数据的槽函数
private:
    Ui::revise *ui;
    Student *thisstu=new Student ();
    QStringList stringList;
    QFile textFile;
};

#endif // REVISE_H
